package hndx.feign;

import hndx.config.DefaultFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name="gateway", path = "/server1/api",configuration = DefaultFeignConfig.class)
public interface Server1Client {
    @PostMapping("/hello")
    public String hello();
}
